package com.cobo.fitness;

import com.cobo.fitness.core.SpringContextUtils;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@MapperScan("com.cobo.**.mapper")
@ComponentScan(basePackages = {"com.cobo"})
@EnableScheduling
public class Main {
    public static void main(String[] args) {
//		KtoolGui.start();
//		SpringApplication.run(KToolApplication.class, args);

//		SpringApplication.run(KToolApplication.class);
        SpringApplicationBuilder builder = new SpringApplicationBuilder(Main.class);
        builder.headless(false).run(args);
    }
}
